SRC = $(wildcard *.c)
OBJ= $(SRC:.c=.o)
BIN = test.exe


$(BIN):$(OBJ)
	@gcc -o $@ $^
%.o:%.c
	@gcc -c $< -g -std=c99
.PHONY:clean
clean:
	@rm -rf $(BIN) $(OBJ)


